import { writable } from "svelte/store";

//歌单ID
export const playListIdStore = writable("");

//歌单详情
export const playListDetailStore = writable({});

//今日推荐歌曲列表
export const todayListStore = writable([]);


//历史歌单
export const historyListStore = writable( JSON.parse(localStorage.getItem("historyListStore"))
? JSON.parse(localStorage.getItem("historyListStore"))
: [])

//历史歌曲
export const historySoneStore = writable([])